package com.dianzi.certification.service;

import com.dianzi.certification.dto.ProfessionSelfEvaluationDTO;
import com.dianzi.certification.entity.ProfessionSelfEvaluation;
import com.dianzi.certification.vo.ProfessionSelfEvaluationVO;
import com.dianzi.certification.vo.R;

import java.util.List;

/**
 * @author copa
 * @createDate 2022-03-29 21:17
 * @function
 */
public interface ProfessionSelfEvaluationService {

    R<String> addPro(ProfessionSelfEvaluationDTO professionSelfEvaluationDTO, Integer userId);

    R<List<ProfessionSelfEvaluationVO>> getPro(Integer userId);

    R<ProfessionSelfEvaluation> getProDetail(Integer proId, Integer userId);

    R<ProfessionSelfEvaluation> putPro(ProfessionSelfEvaluationDTO professionSelfEvaluationDTO, Integer userId);

    R<ProfessionSelfEvaluation> getProDetailAdmin(Integer certId);

    R<String> putProAdmin(Integer certId, Integer status, String remark);

    R<String> postExpertAdvice(Integer certId, Integer status, String expertAdvice);

    R<String> putExpertAdvice(Integer certId, String expertAdvice);

    R<ProfessionSelfEvaluation> getProDetailByCertId(Integer certId);
}
